package com.soft.javase.day03.practice.employeeandmanger;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/17
 */
public class Test {
    public static void main(String[] args) {
        Manager manager = new Manager("张三", "1000", 10000, 5000);

        manager.addSalary(2000);

        System.out.println("姓名: " + manager.getName());
        System.out.println("工号: " + manager.getId());
        System.out.println("工资: " + manager.getPay());
        System.out.println("分红: " + manager.getBonus());
    }
}